<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPages/Default.Master" AutoEventWireup="true"
	CodeBehind="Home.aspx.cs" Inherits="ITViet.Web.Pages.Home" %>

<%@ Register Src="../Controls/HomeIntroduction.ascx" TagName="HomeIntroduction" TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="cphContentMain" runat="server">
	<div id="content-wrap">
		<div class="lower-lists">
			<ul class="services">
				<li class="box1">
					<h4>
						<%=GetGlobalResourceObject("Strings", "PurchaseService")%>
					</h4>
					<img src="../Images/cart.png" alt=" " width="54" />
					<p>
						<asp:Literal ID="ltPurchaseService" runat="server"></asp:Literal></p>
					<a href="AboutUs.aspx?tid=2" class="more" id="aPurchase" runat="server">
						<%=GetGlobalResourceObject("Strings", "Detail")%></a> </li>
				<li class="box2">
					<h4>
						<%=GetGlobalResourceObject("Strings", "RepairService")%>
					</h4>
					<img src="../Images/tools.png" alt=" " width="54" /><p>
						<asp:Literal ID="ltRepairService" runat="server"></asp:Literal></p>
					<a href="AboutUs.aspx?tid=3" class="more">
						<%=GetGlobalResourceObject("Strings", "Detail")%></a> </li>
				<li class="box3">
					<h4>
						<%=GetGlobalResourceObject("Strings", "WarrantyService")%>
					</h4>
					<img src="../Images/firstAidKit.png" alt=" " width="54" /><p>
						<asp:Literal ID="ltWarrantyService" runat="server"></asp:Literal></p>
					<a href="AboutUs.aspx?tid=4" class="more">
						<%=GetGlobalResourceObject("Strings", "Detail")%></a> </li>
			</ul>
		</div>
		<div class="leftPan">
			<h3 style="float: left;">
				<%=GetGlobalResourceObject("Strings", "HotProduct")%>
			</h3>
			<div class="product-view">
				<img id="proImage" src="" alt=" " height="120" />
				<span id="proTitle"></span>
				<p id="proInfo">
				</p>
				<a id="proLink" href="" class="more">
					<%=GetGlobalResourceObject("Strings", "Detail")%></a>
			</div>
			<ul class="hotProduct">
				<asp:Repeater ID="rptHotProduct" runat="server">
					<ItemTemplate>
						<li onclick="manualChangeProduct(jQuery(this));">
							<center>
								<img alt="" src="../<%#Eval("Image") %>" height="100" />
							</center>
							<span class="title">
								<%#Eval("Name") %>
							</span><span class="info">
								<%# TextToHtml(Eval("Description") as string, 150) %></span> <a class="detail" href="ProductDetail.aspx?tid=<%#Eval("CategoryId") %>&id=<%#Eval("Id") %>">
								</a></li>
					</ItemTemplate>
				</asp:Repeater>
			</ul>
		</div>
		<!--end of leftPan-->
		<div class="rightPan">
			<div class="rightPan_end">
				<div class="innerContent">
					<h3>
						<%=GetGlobalResourceObject("Strings", "HotNews")%>
					</h3>
					<ul class="lists">
						<asp:Repeater ID="rptHotNews" runat="server">
							<ItemTemplate>
								<li>
									<p>
										<strong>
											<%#TextToHtml(Eval("Title") as string, 45) %></strong><br />
										<%# TextToHtml(Eval("Summary") as string, 120) %>
										<a href="NewsDetailPage.aspx?t=N&tid=<%#Eval("CategoryId") %>&id=<%#Eval("Id") %>">
											<%=GetGlobalResourceObject("Strings", "Detail")%>
											&raquo;</a></p>
								</li>
							</ItemTemplate>
						</asp:Repeater>
					</ul>
					<!--end of list items-->
				</div>
			</div>
		</div>
		<!--end of rightPan-->
	</div>
</asp:Content>
